package cn.com.guage.dtm.stat.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.com.guage.dtm.common.annotation.Excel;
import cn.com.guage.dtm.common.core.domain.BaseEntity;

/**
 * 数据检核分析对象 stat_data_check
 * 
 * @author yangdechao
 * @date 2021-06-21
 */
public class StatDataCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 检核结果id */
    private Long checkResultId;

    /** 转换轮次代码 */
    @Excel(name = "转换轮次代码")
    private String turnCode;

    /** 目标系统id */
    @Excel(name = "目标系统id")
    private Long sysId;

    /** 目标系统代码 */
    @Excel(name = "目标系统代码")
    private String sysCode;

    /** 目标系统名称 */
    @Excel(name = "目标系统名称")
    private String sysName;

    /** 环境id */
    @Excel(name = "环境id")
    private Long envId;

    /** 环境代码 */
    @Excel(name = "环境代码")
    private String evnCode;

    /** 环境名称 */
    @Excel(name = "环境名称")
    private String envName;

    /** 校验时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "校验时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkDatatime;

    public void setCheckResultId(Long checkResultId) 
    {
        this.checkResultId = checkResultId;
    }

    public Long getCheckResultId() 
    {
        return checkResultId;
    }
    public void setTurnCode(String turnCode) 
    {
        this.turnCode = turnCode;
    }

    public String getTurnCode() 
    {
        return turnCode;
    }
    public void setSysId(Long sysId) 
    {
        this.sysId = sysId;
    }

    public Long getSysId() 
    {
        return sysId;
    }
    public void setSysCode(String sysCode) 
    {
        this.sysCode = sysCode;
    }

    public String getSysCode() 
    {
        return sysCode;
    }
    public void setSysName(String sysName) 
    {
        this.sysName = sysName;
    }

    public String getSysName() 
    {
        return sysName;
    }
    public void setEnvId(Long envId) 
    {
        this.envId = envId;
    }

    public Long getEnvId() 
    {
        return envId;
    }
    public void setEvnCode(String evnCode) 
    {
        this.evnCode = evnCode;
    }

    public String getEvnCode() 
    {
        return evnCode;
    }
    public void setEnvName(String envName) 
    {
        this.envName = envName;
    }

    public String getEnvName() 
    {
        return envName;
    }
    public void setCheckDatatime(Date checkDatatime) 
    {
        this.checkDatatime = checkDatatime;
    }

    public Date getCheckDatatime() 
    {
        return checkDatatime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkResultId", getCheckResultId())
            .append("turnCode", getTurnCode())
            .append("sysId", getSysId())
            .append("sysCode", getSysCode())
            .append("sysName", getSysName())
            .append("envId", getEnvId())
            .append("evnCode", getEvnCode())
            .append("envName", getEnvName())
            .append("checkDatatime", getCheckDatatime())
            .toString();
    }
}
